package com.hkts.naturalgas.base.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hkts.naturalgas.config.JsonSerializerUtils;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2021-05-31
 */
public class CalcinationPurifyWetElectricity extends Model<CalcinationPurifyWetElectricity> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 时间
     */
    private LocalDateTime time;
    /**
     * 煅烧一电场二次电流
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float dsjhSda1;
    /**
     * 煅烧一电场二次电压
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float dsjhSda2;
    /**
     * 煅烧二电场二次电流
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float dsjhSdb1;
    /**
     * 煅烧二电场二次电压
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float dsjhSdb2;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public Float getDsjhSda1() {
        return dsjhSda1;
    }

    public void setDsjhSda1(Float dsjhSda1) {
        this.dsjhSda1 = dsjhSda1;
    }

    public Float getDsjhSda2() {
        return dsjhSda2;
    }

    public void setDsjhSda2(Float dsjhSda2) {
        this.dsjhSda2 = dsjhSda2;
    }

    public Float getDsjhSdb1() {
        return dsjhSdb1;
    }

    public void setDsjhSdb1(Float dsjhSdb1) {
        this.dsjhSdb1 = dsjhSdb1;
    }

    public Float getDsjhSdb2() {
        return dsjhSdb2;
    }

    public void setDsjhSdb2(Float dsjhSdb2) {
        this.dsjhSdb2 = dsjhSdb2;
    }

    public static final String ID = "id";

    public static final String TIME = "time";

    public static final String DSJH_SDA1 = "dsjh_sda1";

    public static final String DSJH_SDA2 = "dsjh_sda2";

    public static final String DSJH_SDB1 = "dsjh_sdb1";

    public static final String DSJH_SDB2 = "dsjh_sdb2";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CalcinationPurifyWetElectricity{" +
                ", id=" + id +
                ", time=" + time +
                ", dsjhSda1=" + dsjhSda1 +
                ", dsjhSda2=" + dsjhSda2 +
                ", dsjhSdb1=" + dsjhSdb1 +
                ", dsjhSdb2=" + dsjhSdb2 +
                "}";
    }
}
